﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace FieldTools.Entity.PluginManage
{
    /// <summary>
    /// CustomRequestBindUser
    /// </summary>
    [Table("CustomRequestBindUser")]
    public class CustomRequestBindUser
    {

        /// <summary>
        /// 自然主键
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 用户关联Id
        /// </summary>
        public String UserId { get; set; }

        /// <summary>
        /// HTTP接口标题
        /// </summary>
        public String Title { get; set; }

        /// <summary>
        /// 请求地址
        /// </summary>
        public String Url { get; set; }

        /// <summary>
        /// 请求头
        /// </summary>
        public String Headers { get; set; }

        /// <summary>
        /// 请求体
        /// </summary>
        public String Body { get; set; }

        /// <summary>
        /// 请求类型，1POST，2GET
        /// </summary>
        public Int32? RequestType { get; set; }

        /// <summary>
        /// Field
        /// </summary>
        public String Field { get; set; }

    }
}